/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;

import entity.Petowner;
import java.util.List;


/**
 *
 * @author ZZ
 */
public interface OwnerDao {
    /**
     * 增加主人账号信息
     * @param owner
     * @return 
     */
    int add(Petowner owner);
    /**
     * 更新主人信息
     * 
     * @param id 通过id，id唯一
     
     * @param money 
     */
    void update(int id,int money);
    /**
     * 删除主人信息
     * @param id 
     */
    void move(int id);
    List<Petowner> select();
    
}
